<script setup lang='ts'>
import { useRoute } from 'vue-router'

const route = useRoute()
console.log(route.query.proid);

</script>
<template>
  <main class='box'>
    <header class='header'>
      <van-icon @click="$router.back()" class="left-icon" name="arrow-left" />
      详情
    </header>

    <div class='content'>
      主体内容部分
    </div>
  </main>
</template>
<style scoped lang="scss">
.left-icon {
  float: left;
  line-height: 0.44rem;
  margin-left: 16px;
}
</style>